package com.yeyks.common.constants.activity;

//redis的键
public class RedisKeyPreConstant {

    //床垫状态锁
    public static final String MATTRESS_MECHANICAL_LOCK = "mattress:mechanical:look:";
    //抢单推送消息锁
    public static final String GRAB_THE_ORDER_PUSH_MESSAGE_LOCK = "grab_the_order:push_message:lock:";
    //抢单推送消息状态
    public static final String GRAB_THE_ORDER_PUSH_MESSAGE_STATUS = "grab_the_order:push_message:status:";

    //会员卡余额修改锁
    public static final String USER_MEMBER_CARD_PAY_LOCK = "user_member_card:pay:lock:";
    //提现锁
    public static final String CASH_OUT_ORDER_EXTRACT = "cash_out_order:extract:lock:";

    //UV
    public static final String STATISTICAL_MANAGEMENT_UNIQUE_VISITOR_PRE = "statistical:management:unique:visitor:";
    //PV
    public static final String STATISTICAL_MANAGEMENT_UNIQUE_PV = "statistical:management:unique:pv:";

    //记录用户活动参与的锁
    public static final String LOCK_ACTIVITY_USER_PARTICIPATE_PRE = "lock:activity:user:participate:";
    //活动执行锁的统一前缀
    public static final String LOCK_ACTIVITY_DO_PRE = "lock:activity:do:";

    /*
    统计
     */
    //总前缀
    public static final String STATISTICAL_DATA_PRE = "statistical:";
    /*
    项目
     */
    //活动
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY = "activity:";
    /*
    子项
     */
    //周杰伦门票
    //统计 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_COUNT = "zhoujielun:count";
    //排行榜 zsort
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_LEADERBOARD = "zhoujielun:leaderboard";
    //当天抽奖的次数 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_LOTTERY_COUNT = "zhoujielun:lottery:count";
    //邀请抽奖的次数 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_LOTTERY_ALLOW = "zhoujielun:lottery:allow";
    //可抽奖的门票剩余数 string
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_LOTTERY_TICKETS = "zhoujielun:lottery:tickets";
    //优惠券
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_ZHOUJIELUN_LOTTERY_COUPON = "zhoujielun:lottery:coupon";


    //双旦活动
    private static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN = "DoubleDan:";
    //统计 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN_COUNT = STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN + "count";
    //当天抽奖的次数 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN_LOTTERY_COUNT = STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN + "lottery:count";
    //分享抽奖的次数 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN_LOTTERY_ALLOW1 = STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN + "lottery:allow1";
    //邀请抽奖的次数 hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN_LOTTERY_ALLOW2 = STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN + "lottery:allow2";
    // hash
    public static final String STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN_LOTTERY_FISTCOUNT = STATISTICAL_DATA_MIDDLE_ACTIVITY_END_DOUBLEDAN + "lottery:FistCount";

    //jip邀请活动
    public static final String ACTIVITY_HOTEL_JIP_INVITE = "ACTIVITY_HOTEL_JIP_INVITE:";
    //统计
    public static final String ACTIVITY_HOTEL_JIP_INVITE_COUNT = ACTIVITY_HOTEL_JIP_INVITE + "count:";

}
